package com.mooc.tree.bak.bst;

/**
 * @Author zhang.xin
 * @Description: TODO(这里描述)
 * @Date 2019/12/25
 */
public class BTSNode {

    private int value;
    private BTSNode left;
    private BTSNode right;

    public BTSNode(int value) {
        this.value = value;
        this.left = null;
        this.right = null;
    }

    public int getValue() {
        return value;
    }

    public void setValue(int value) {
        this.value = value;
    }

    public BTSNode getLeft() {
        return left;
    }

    public void setLeft(BTSNode left) {
        this.left = left;
    }

    public BTSNode getRight() {
        return right;
    }

    public void setRight(BTSNode right) {
        this.right = right;
    }
}
